package zsh.service.ServiceImpl;

import org.springframework.stereotype.Service;
import zsh.domain.Student;
import zsh.service.IService;

@Service
public class ServiceImpl implements IService {
    @Override
    public void sayHello() {
        System.out.println("Hello World");
    }

    @Override
    public int add(int a, int b) {
        return a + b;
    }

    @Override
    public Student selectByID(int id) {
        System.out.println("用了选择方法");
        return null;
    }
}
